package io.renren.modules.live.service;

import com.baomidou.mybatisplus.extension.service.IService;
import io.renren.common.utils.PageUtils;
import io.renren.modules.live.dto.orderDto;
import io.renren.modules.live.entity.FanweOrderEntity;
import io.renren.modules.live.vo.orderVo;

import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * 订单表
 *
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2020-11-21 13:24:54
 */
public interface FanweOrderService extends IService<FanweOrderEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<FanweOrderEntity> getUserIdDataOrderlist(Integer userId, String time,Long page,Long size);

    /**
     * 充值记录
     * @param orderVo
     * @return
     */
   Map<String,Object> selectOrderListOne(orderVo orderVo) throws Exception;

    /**
     * 消费记录
     * @param orderVo
     * @return
     */
    Map<String,Object> selectOrderListTwo(orderVo orderVo)throws Exception;
}

